package com.masterclient.app.modules.category.contract;

import com.eoner.baselibrary.base.BasePresenter;
import com.eoner.baselibrary.base.BaseView;
import com.masterclient.app.modules.category.beans.CategoryAllIndexBean;

import java.util.List;

/**
 * 作者：sean
 * 创建时间：2017/6/30 09:28
 * 功能说明：
 */

public interface CategoryContract {

    interface View extends BaseView {
//      public void showClassOneMenu(List<CategoryFirstBean.DataBean> list);
//        void showBrandList(CategoryBrandBean.DataBean dataBean);
        void showData(List<CategoryAllIndexBean.ShCategorysBean> list);
        void loadFail(String s);
        void loadError(String s);
    }


    abstract static class Presenter extends BasePresenter<View> {

        @Override
        public void onStart() {

        }
//        public abstract void getCategoryClassOneList();
//
//        public abstract void getCategoryBrandList(@NonNull String cid);

        public abstract void getCategoryData();
    }
}